<CPackWiXPatch>
    <CPackWiXFragment Id="#PRODUCT">
        <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Run ImStudio" />
        <CustomAction Id="LaunchImStudio"
                      Impersonate="no"
                      FileKey="CM_FP_bin.ImStudio.exe"
                      ExeCommand=""
                      Return="asyncNoWait" />
        <UI>
            <Publish Dialog="ExitDialog"
                     Control="Finish"
                     Event="DoAction"
                     Value="LaunchImStudio">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
        </UI>
    </CPackWiXFragment>
</CPackWiXPatch>
